package org.jeecg.modules.golf.user.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;
import org.jeecg.modules.golf.question.client.qto.QuestionQueryPageDTO;
import org.jeecg.modules.golf.user.client.TraineeAgeDistDTO;
import org.jeecg.modules.golf.user.client.TraineeChadianDistDTO;
import org.jeecg.modules.golf.user.client.TraineeRealNameDistDTO;
import org.jeecg.modules.golf.user.client.TraineeSexDistDTO;
import org.jeecg.modules.golf.user.entity.Trainee;

import java.util.List;

/**
 * @Description: 学员
 * @Author: jeecg-boot
 * @Date:   2020-11-01
 * @Version: V1.0
 */
public interface ITraineeService extends IService<Trainee> {


    Page<TraineeRealNameDistDTO> distName(QuestionQueryPageDTO questionQueryPageDTO);

    TraineeSexDistDTO distSex(QuestionQueryPageDTO questionQueryPageDTO);

    /**
     * 年龄分布
     * @param questionQueryPageDTO
     * @return
     */
    List<TraineeAgeDistDTO> distAge(QuestionQueryPageDTO questionQueryPageDTO);



    /**
     * 差点分布
     * @param questionQueryPageDTO
     * @return
     */
    List<TraineeChadianDistDTO> distChadian(QuestionQueryPageDTO questionQueryPageDTO);

}
